import {createRouter, createWebHistory,RouteRecordRaw} from 'vue-router'

const routes: Array<RouteRecordRaw> = [
  {
    path: '/LoginView',
    name: 'LoginView',
    component: () => import('../views/user/LoginView.vue')
  },{
    path: '/LoginList',
    name: 'LoginList',
    component: () => import('../views/user/LoginList.vue')
  },{
    path: '/FinancialLogin',
    name: 'FinancialLogin',
    component: () => import('../views/Finance/FinancialLogin.vue')
  },{
    path: '/AdminFinance',
    name: 'AdminFinance',
    component: () => import('../views/Finance/AdminFinance.vue')
  },{
    path: '/UserFinance',
    name: 'UserFinance',
    component: () => import('../views/Finance/UserFinance.vue')
  },{
    path: '/UserFinanceList',
    name: 'UserFinanceList',
    component: () => import('../views/Finance/UserFinanceList.vue')
  },{
    path: '/SloatDelete',
    name: 'SloatDelete',
    component: () => import('../views/Finance/SloatDelete.vue')
  }
]

export const router = createRouter({
  history: createWebHistory(),
  routes
})